package Dao;

import entity.Mail;

import java.util.List;

/**
 * @description 用户操作接口
 * @author DONG
 */
public interface UserDao {
    String login(String id);

    boolean register(String uId, String password, String idCard, String sex,
                     int age, String address, String uName, String telephone);

    boolean modifyUser(String uId, String password, String idCard, String sex,
                       int age, String address, String uName, String telephone);

    List<Mail> queryMail(String uId);

    String queryAddress(String uId);

    String queryTelephone(String uId);

}
